package org.answer.dao;

import com.github.pagehelper.Page;
import org.answer.pojo.AddressMap;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressDao {

    Page<AddressMap> findByCondition(@Param("value") String queryString);

    List<AddressMap> findAll();

    void add(AddressMap addressMap);

    void edit(AddressMap addressMap);

    void deleteById(Integer id);

    AddressMap findById(Integer id);
}
